﻿// ***********************************************************************
// Assembly         : MVC4Portal
// Author           : Lolo
// Created          : 10-25-2013
//
// Last Modified By : Lolo
// Last Modified On : 10-25-2013
// ***********************************************************************
// <copyright file="AdminSettings_ViewModel.cs" company="Innovacall">
//     Copyright (c) Innovacall. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using InnovaApp.Layers.ResourcesLayer.Properties;
using InnovaApp.Portals.MVC4Portal.Models.MetaModels.ApplicationSettings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace InnovaApp.Portals.MVC4Portal.Models.ViewModels
{
    /// <summary>
    /// Class AdminSettings_ViewModel.
    /// </summary>
    public class AdminSettings_ViewModel : _ViewModels_Base
    {
        /// <summary>
        /// Gets or sets the settings.
        /// </summary>
        /// <value>The settings.</value>
        public InnoAppSettings_MetaModel Settings { get; set; }
        /// <summary>
        /// Gets or sets the settings.
        /// </summary>
        /// <value>The settings.</value>
        public List<InnoAppDynamicSetting_MetaModel> SecondarySettings { get; set; }
        /// <summary>
        /// Dialog to close selector
        /// </summary>
        public string DialogToClose { get; set; }

        /// <summary>
        /// Gets the view_ admin settings_cap_ main settings.
        /// </summary>
        /// <value>The view_ admin settings_cap_ main settings.</value>
        public string cap_MainSettings { get { return Resources.View_AdminSettings_cap_MainSettings; } }
        /// <summary>
        /// Gets the view_ admin settings_cap_ secondary settings.
        /// </summary>
        /// <value>The view_ admin settings_cap_ secondary settings.</value>
        public string cap_SecondarySettings { get { return Resources.View_AdminSettings_cap_SecondarySettings; } }

        /// <summary>
        /// Initializes a new instance of the <see cref="AdminSettings_ViewModel"/> class.
        /// </summary>
        public AdminSettings_ViewModel()
        {
            this.Settings = new InnoAppSettings_MetaModel();
            this.SecondarySettings = new List<InnoAppDynamicSetting_MetaModel>();
        }
    }
}